/**
 *====================================================
 * 文件名称: WarningSchemeResultEntity.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2016年6月2日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.project.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.project.entity.lexicon.SettlementStateEnum;
import com.yuexunit.finance.project.entity.lexicon.WarningFactorEnum;
import com.yuexunit.finance.project.entity.lexicon.WarningLevelEnum;

/**
 * @ClassName: WarningSchemeResultEntity
 * @Description: TODO(预警结果)
 * @author chenxy
 * @date 2016年6月2日 下午3:41:07
 */
@Entity
@Table(name = "FIN_WARNING_SCHEME_RESULT")
public class WarningSchemeResultEntity {

	/** 预警结果ID */
	@Id
	@GeneratedValue
	@Column(name = "SCHEME_RESULT_ID")
	private Long schemeResultId;

	/** 预警方案ID */
	@Column(name = "SCHEME_ID")
	private Long schemeId;

	/** 方案名称 */
	@Column(name = "SCHEME_NAME")
	private String schemeName;

	/** 企业信息ID */
	@Column(name = "ENTERPRISE_ID")
	private Long enterpriseId;

	/** 企业名称 */
	@Column(name = "ENTERPRISE_NAME")
	private String enterpriseName;

	/** 预警因素 0:商品价格/1:赎货时效/2:处置时效 */
	@Column(name = "FACTOR")
	private WarningFactorEnum factor;

	/** 预警级别 0:黄色预警/1:红色预警 */
	@Column(name = "WARNING_LEVEL")
	private WarningLevelEnum warningLevel;

	/** 融资信息ID */
	@Column(name = "FINANCE_ID")
	private Long financeId;

	/** 融资信息编号 */
	@Column(name = "FINANCE_NUMBER")
	private String financeNumber;

	/** 货物信息ID */
	@Column(name = "BULKSTOCK_ID")
	private Long bulkstockId;

	/** 大宗商品ID */
	@Column(name = "BULKSTOCK_INFO_ID")
	private Long bulkstockInfoId;

	/** 货物名称 */
	@Column(name = "BULKSTOCK_NAME")
	private String bulkstockName;

	/** 规格型号 */
	@Column(name = "SPECIFICATION")
	private String specification;

	/** 评估单价 */
	@Column(name = "EVALUATE_PRICE")
	private BigDecimal evaluatePrice;

	/** 最新单价 */
	@Column(name = "LATEST_PRICE")
	private BigDecimal latestPrice;

	/** 涨跌 */
	@Column(name = "RISE_FALL")
	private BigDecimal riseFall;

	/** 幅度 */
	@Column(name = "INCREASE")
	private BigDecimal increase;

	/** 融资箱信息ID */
	@Column(name = "INVENTORY_ID")
	private String inventoryId;

	/** 物流运单号 */
	@Column(name = "WAYBILL_NUMBER")
	private String waybillNumber;

	/** 货物箱号 */
	@Column(name = "CASE_NUMBER")
	private String caseNumber;

	/** 预警内容描述 */
	@Column(name = "DESCRIPTION")
	private String description;

	/** 生成时间 */
	@Column(name = "CREATE_DT")
	private Date createDateTime;
	
	/** 状态  */
	@Column(name = "SETTLEMENT_STATE ")
	private SettlementStateEnum settlementState;
	
	/** 操作人  */
	@Column(name = "OPERATOR")
	private String operator;
	
	/** 操作时间  */
	@Column(name = "OPERATOR_TIME")
	private Date operatorTime;
	
	/** 处理措施  */
	@Column(name = "SETTLEMENT_MEASURE")
	private String settlementMeasure;
	
	/** 处理详情  */
	@Column(name = "SETTLEMENT_DETAIL")
	private String settlementDetail;
	
	/** 起息日  */
	@Column(name = "SETTLEMENT_START")
	private Date settlementStart;
	
	/** 到期日  */
	@Column(name = "SETTLEMENT_END")
	private Date settlementEnd;
	
	/** 借款期限  */
	@Column(name = "FINANCE_DAYS")
	private Integer financeDays;
	
	/** 费率  */
	@Column(name = "INTEREST_RATE")
	private BigDecimal interestRate;
	
	/** 即将到期天数  */
	@Column(name = "DUE_DAYS")
	private Integer dueDays;
	
	public Date getSettlementStart() {
		return settlementStart;
	}

	public void setSettlementStart(Date settlementStart) {
		this.settlementStart = settlementStart;
	}

	public Date getSettlementEnd() {
		return settlementEnd;
	}

	public void setSettlementEnd(Date settlementEnd) {
		this.settlementEnd = settlementEnd;
	}

	public Integer getFinanceDays() {
		return financeDays;
	}

	public void setFinanceDays(Integer financeDays) {
		this.financeDays = financeDays;
	}

	public BigDecimal getInterestRate() {
		return interestRate;
	}

	public void setInterestRate(BigDecimal interestRate) {
		this.interestRate = interestRate;
	}

	public Integer getDueDays() {
		return dueDays;
	}

	public void setDueDays(Integer dueDays) {
		this.dueDays = dueDays;
	}

	public SettlementStateEnum getSettlementState() {
		return settlementState;
	}

	public void setSettlementState(SettlementStateEnum settlementState) {
		this.settlementState = settlementState;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Date getOperatorTime() {
		return operatorTime;
	}

	public void setOperatorTime(Date operatorTime) {
		this.operatorTime = operatorTime;
	}

	public String getSettlementMeasure() {
		return settlementMeasure;
	}

	public void setSettlementMeasure(String settlementMeasure) {
		this.settlementMeasure = settlementMeasure;
	}

	public String getSettlementDetail() {
		return settlementDetail;
	}

	public void setSettlementDetail(String settlementDetail) {
		this.settlementDetail = settlementDetail;
	}

	public Long getSchemeResultId() {
		return schemeResultId;
	}

	public void setSchemeResultId(Long schemeResultId) {
		this.schemeResultId = schemeResultId;
	}

	public Long getSchemeId() {
		return schemeId;
	}

	public void setSchemeId(Long schemeId) {
		this.schemeId = schemeId;
	}

	public String getSchemeName() {
		return schemeName;
	}

	public void setSchemeName(String schemeName) {
		this.schemeName = schemeName;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public String getEnterpriseName() {
		return enterpriseName;
	}

	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}

	public WarningFactorEnum getFactor() {
		return factor;
	}

	public void setFactor(WarningFactorEnum factor) {
		this.factor = factor;
	}

	public WarningLevelEnum getWarningLevel() {
		return warningLevel;
	}

	public void setWarningLevel(WarningLevelEnum warningLevel) {
		this.warningLevel = warningLevel;
	}

	public Long getFinanceId() {
		return financeId;
	}

	public void setFinanceId(Long financeId) {
		this.financeId = financeId;
	}

	public String getFinanceNumber() {
		return financeNumber;
	}

	public void setFinanceNumber(String financeNumber) {
		this.financeNumber = financeNumber;
	}

	public Long getBulkstockId() {
		return bulkstockId;
	}

	public void setBulkstockId(Long bulkstockId) {
		this.bulkstockId = bulkstockId;
	}

	public Long getBulkstockInfoId() {
		return bulkstockInfoId;
	}

	public void setBulkstockInfoId(Long bulkstockInfoId) {
		this.bulkstockInfoId = bulkstockInfoId;
	}

	public String getBulkstockName() {
		return bulkstockName;
	}

	public void setBulkstockName(String bulkstockName) {
		this.bulkstockName = bulkstockName;
	}

	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}

	public BigDecimal getEvaluatePrice() {
		return evaluatePrice;
	}

	public void setEvaluatePrice(BigDecimal evaluatePrice) {
		this.evaluatePrice = evaluatePrice;
	}

	public BigDecimal getLatestPrice() {
		return latestPrice;
	}

	public void setLatestPrice(BigDecimal latestPrice) {
		this.latestPrice = latestPrice;
	}

	public BigDecimal getRiseFall() {
		return riseFall;
	}

	public void setRiseFall(BigDecimal riseFall) {
		this.riseFall = riseFall;
	}

	public BigDecimal getIncrease() {
		return increase;
	}

	public void setIncrease(BigDecimal increase) {
		this.increase = increase;
	}

	public String getInventoryId() {
		return inventoryId;
	}

	public void setInventoryId(String inventoryId) {
		this.inventoryId = inventoryId;
	}

	public String getWaybillNumber() {
		return waybillNumber;
	}

	public void setWaybillNumber(String waybillNumber) {
		this.waybillNumber = waybillNumber;
	}

	public String getCaseNumber() {
		return caseNumber;
	}

	public void setCaseNumber(String caseNumber) {
		this.caseNumber = caseNumber;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

}
